package com.woniuxy.feign;

import com.woniuxy.util.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author hq
 * @Date 2025/7/18$ 10:20$
 * @Description TODO
 * @Params $
 * @Return $
 **/
@FeignClient(name = "campus-content")
public interface ContentApi {
    //更新商品状态
    @PostMapping("/shop/offline/{id}/{status}")
    ResponseData<Boolean> updateStatus(@PathVariable("id") Integer id,@PathVariable("status") Integer status);

}
